public class JavaClass {
    // This is defined in ScalaClass
    public static final Foo.Bar bar = (new Foo()).new Bar();
}